home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11801 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.9 KB  |  48 lines

  1. Newsgroups: comp.lang.c++
  2. Path: netcom.com!marnold
  3. From: marnold@netcom.com (Matt Arnold)
  4. Subject: Re: works in Borland but not in Microsuck Visual C++
  5. Message-ID: <marnoldDoCq2r.BJF@netcom.com>
  6. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  7. References: <4ibuke$hui@ralph.vnet.net> <4ic48q$51k@ra.nrl.navy.mil>
  8. Date: Sat, 16 Mar 1996 08:25:39 GMT
  9. Sender: marnold@netcom2.netcom.com
  10.  
  11. pitre@n5160d.nrl.navy.mil (Richard Pitre) writes:
  12.  
  13. >In article <4ibuke$hui@ralph.vnet.net> mauricej@vnet.net (Maurice Jeter)  
  14. [snip]
  15. >> I moved from BC to VC 4; a lot of my code would not compile due to 
  16. >> different function names and parameters, and very strict type checking, 
  17. >> but once I got everything modified I was very please with it.  
  18. >> Unfortunately it doesn't seem to catch as many potential errors that BC 
  19. >> can
  20.  
  21. >get this
  22.  
  23. >> (such as "code has no effect").
  24.  
  25. >thats because some people, who shall remain nameless, need this "feature".
  26.  
  27.  
  28. What does this mean?  You think a "code has no effect" warning is not
  29. a useful feature?  
  30.  
  31. While it doesn't show up a lot, there have been a few times where this
  32. warning has quickly and automatically caught a simple coding errors 
  33. (usually typo-related) in my programming.  Isn't this exactly what warning 
  34. messages are for?  
  35.  
  36. Personally, I always compile with all warnings turned on and am thankful 
  37. for every one the compiler can generate for me.
  38.  
  39.  
  40. Regards,
  41. -------------------------------------------------------------------------
  42. Matt Arnold                       |        | ||| | |||| |  | | || ||
  43. marnold@netcom.com                |        | ||| | |||| |  | | || ||
  44. Boston, MA                        |      0 | ||| | |||| |  | | || ||
  45. 617.389.7384 (h) 617.576.2760 (w) |        | ||| | |||| |  | | || ||
  46. C++, MIDI, Win32/95 developer     |        | ||| 4 3 1   0 8 3 || ||
  47. -------------------------------------------------------------------------
  48.